#include "Stack.h"

void test1()
{
	Stack s1(4);
	s1.Push(3);
	s1.Push(2);
	s1.Push(7);
	s1.Push(1);
	s1.Push(9);
	while (!s1.Empty())
	{
		cout << s1.Top() << endl;
		s1.Pop();
	}
}

class MyQueue
{
public:
	//MyQueue()
	//	:s2(4)
	//	, s3(5)
	//	, a1(1)
	//{}

private:
	Stack s2 = 2;
	Stack s3 = 4;
	const int a1 = 1;
	
	
};

int main()
{
	test1();
	//MyQueue m1;
	return 0;
}

